﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApplication2
{
    public abstract class Vehice
    {
        public string name;
        public Vehice()
        {

        }
    public string go()
        {
            return "";
        }
    public Boolean isEngineOn()
        {
            return false;
        }
    }
    public void startEngine()
    {
        
    }
        public void stopEngine()
        {

        }
        public  string getName()
        {
            return "";
        }
    public interface ICargoTransport
        {
            public void loadCargo();
        }
    public class extends Vehice
    {
        public Car()
        {

        }
        public string go()
        {
            return "";
        }
    }
    public class Person
    {
        public ArrayList<Vehice>m_Vehice;
        public Person()
        {

        }
    }
    public void addVehice(Vehicev)
    {
        
    }
    public class Truck extends Vehice implements ICargoTransport
    {
        public Truck()
        {

        }
    }
    public string go()
    {
        return "";
    }
    public void loadCargo()
    {

    }
    class Program1
    {
        static void Main(string[] args)
        {
        }
    }
}
